package dependenceinversion;

import javax.swing.*;

/**
 * @Author Gavin
 * @date 2020.07.14 11:30
 */
public class GavinStudy {
    private ICourse iCourse;

    public GavinStudy(ICourse course) {
        this.iCourse = course;
    }

    public void studyCourse() {
        iCourse.studyCourse();
    }
}
